package com.spic.business.xfalarm.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.xfalarm.domain.AlarmInfoDate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 290512
 * @create 2022-05-25 10:56
 */
@Mapper
public interface AlarmInfoDateMapper extends BaseMapper<AlarmInfoDate>
{
    @DS("xiaofang")
    List<Map<String, Object>> getAlarmInfoDate(@Param("tableName") String tableName);

    @DS("xiaofang2")
    List<Map<String, Object>> getAlarmInfoDate2(@Param("tableName") String tableName);

    @DS("xiaofang")
    List<String> getAlarmInfoDateCheckTable();

    @DS("xiaofang2")
    List<String> getAlarmInfoDateCheckTable2();
}
